package com.alibaba.algo.cooperation.usercenter;

import com.alibaba.algo.cooperation.common.ResultStatus;

/**
 * @author: niechanggang
 * @date:2021/3/16 17:20
 * @description:
 */
public class GlobalResultStatus {

    public static final ResultStatus SUCCESS = new ResultStatus(0, "成功");

    public static final ResultStatus PARAM_ERROR = new ResultStatus(10000, "参数错误");

    public static final ResultStatus PARAM_SYS_ORG_NAME_ERROR = new ResultStatus(10001, "组织名称不能为空");

    public static final ResultStatus PARAM_SYS_ORG_TYPE_ERROR = new ResultStatus(10002, "组织类型不能为空");

    public static final ResultStatus PARAM_SYS_ORG_ExpireStarttime_ERROR = new ResultStatus(10003, "组织有效开始时间不能为空");

    public static final ResultStatus PARAM_SYS_ORG_ExpireEndTime_ERROR = new ResultStatus(10004, "组织有效结束时间不能为空");

    public static final ResultStatus PARAM_SYS_ORG_ID_ERROR = new ResultStatus(10005, "组织ID不能为空");

    public static final ResultStatus PARAM_SYS_POSITION_ID_ERROR = new ResultStatus(10006, "岗位ID不能为空");

    public static final ResultStatus PARAM_SYS_POSITION_NAME_ERROR = new ResultStatus(10006, "岗位名称不能为空");

    public static final ResultStatus PARAM_SYS_PARENT_ORG_ID_ERROR = new ResultStatus(10007, "父级组织ID不能为空");

    public static final ResultStatus PARAM_PAGE_INDEX_ERROR = new ResultStatus(20000, "PageIndex不能为空");

    public static final ResultStatus PARAM_PAGE_SIZE_ERROR = new ResultStatus(20001, "PageSize不能为空");

    public static final ResultStatus PARAM_PAGE_SIZE_OVERSIZE_ERROR = new ResultStatus(20002, "PageSize过大，不能超过10");

    public static final ResultStatus PARAM_PAGE_MAX_SIZE_OVERSIZE_ERROR = new ResultStatus(20003, "PageSize过大，不能超过50");

    public static final ResultStatus PARAM_EMPLOYEE_CODE_ERROR = new ResultStatus(10008, "工号不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_NAME_ERROR = new ResultStatus(10009, "员工姓名不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_TYPE_ERROR = new ResultStatus(10010, "员工类型不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_MOBILE_PHONE_ERROR = new ResultStatus(10011, "员工手机号码不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_EXPIRESTARTTIME_ERROR = new ResultStatus(10012, "员工生效时间不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_EXPIREENDTIME_ERROR = new ResultStatus(10013, "员工失效时间不能为空");

    public static final ResultStatus PARAM_EMPLOYEE_ID_ERROR = new ResultStatus(10014, "员工ID不能为空");

    public static final ResultStatus PARAM_USER_CODE_ERROR = new ResultStatus(10015, "用户账号不能为空");

    public static final ResultStatus PARAM_USER_PASSWD_ERROR = new ResultStatus(10016, "用户密码不能为空");

    public static final ResultStatus PARAM_USER_NAME_ERROR = new ResultStatus(10017, "用户姓名不能为空");

    public static final ResultStatus PARAM_USER_ROLE_ERROR = new ResultStatus(10018, "用户角色不能为空");

    public static final ResultStatus PARAM_USER_ID_ERROR = new ResultStatus(10019, "用户ID不能为空");

    public static final ResultStatus PARAM_RESOURCE_CODE_ERROR = new ResultStatus(10020, "资源编码不能为空");

    public static final ResultStatus PARAM_RESOURCE_NAME_ERROR = new ResultStatus(10021, "资源名字不能为空");

    public static final ResultStatus PARAM_RESOURCE_TYPE_ERROR = new ResultStatus(10022, "资源类型不能为空");

    public static final ResultStatus PARAM_RESOURCE_PARENT_ID_ERROR = new ResultStatus(10023, "父级资源ID不能为空");

    public static final ResultStatus PARAM_RESOURCE_ID_ERROR = new ResultStatus(10024, "资源ID不能为空");

    public static final ResultStatus PARAM_ROLE_ID_ERROR = new ResultStatus(10025, "角色ID不能为空");

    public static final ResultStatus PARAM_ROLE_CODE_ERROR = new ResultStatus(10026, "角色编码不能为空");

    public static final ResultStatus PARAM_ROLE_NAME_ERROR = new ResultStatus(10027, "角色名称不能为空");

    public static final ResultStatus PARAM_ROLE_EXPIRESTARTTIME_ERROR = new ResultStatus(10028, "角色生效时间不能为空");

    public static final ResultStatus PARAM_ROLE_EXPIREENDTIME_ERROR = new ResultStatus(10029, "角色失效时间不能为空");

    public static final ResultStatus PARAM_ROLE_STATE_ERROR = new ResultStatus(10030, "角色状态不能为空");

    public static final ResultStatus PARAM_FUNCTION_CODE_ERROR = new ResultStatus(10031, "功能编码不能为空");

    public static final ResultStatus PARAM_FUNCTION_NAME_ERROR = new ResultStatus(10032, "功能名称不能为空");

    public static final ResultStatus PARAM_FUNCTION_STATE_ERROR = new ResultStatus(10033, "功能状态不能为空");

    public static final ResultStatus PARAM_FUNCTION_ID_ERROR = new ResultStatus(10034, "功能ID不能为空");

    public static final ResultStatus PARAM_APP_CODE_ERROR = new ResultStatus(10035, "应用编码不能为空");

    public static final ResultStatus PARAM_APP_NAME_ERROR = new ResultStatus(10036, "应用名称不能为空");

    public static final ResultStatus PARAM_APP_STATE_ERROR = new ResultStatus(10037, "应用状态不能为空");

    public static final ResultStatus PARAM_APP_ID_ERROR = new ResultStatus(10038, "应用ID不能为空");

    public static final ResultStatus PARAM_APP_KEY_ERROR = new ResultStatus(10039, "AK不能为空");

    public static final ResultStatus PARAM_APP_SECRET_ERROR = new ResultStatus(10040, "APP SECRET不能为空");

    public static final ResultStatus PARAM_APP_ACCOUNT_ID_ERROR = new ResultStatus(10041, "APP ACCOUNT ID不能为空");

    public static final ResultStatus PARAM_ORG_CODE_ERROR = new ResultStatus(10042, "组织Code不能为空");

    public static final ResultStatus PARAM_ORG_LABEL_CODE_ERROR = new ResultStatus(10043, "标签编码不能为空");

    public static final ResultStatus PARAM_ORG_LABEL_NAME_ERROR = new ResultStatus(10044, "标签名称不能为空");

    public static final ResultStatus PARAM_ORG_LABEL_DELETE_ID_ERROR = new ResultStatus(10045, "岗位标签ID为空");

}
